package com.xbongbong.paas.pojo.dto;

import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author youli.chen
 * @version v1.0
 * @description: 员工设置坐席状态入参
 * @date 2019/2/28 19:55
 * @since v1.0
 */
@Setter
@Getter
@ToString
public class CallCenterAgentDTO extends BaseDTO {

    /**
     * 微应用标识，参考CallCenterTypeEnum
     */
    @NotNull(message="{dto.msg.callAccountRegister.moduleType.NotNull}")
    private Integer moduleType;

    /**
     * 需要设置坐席的用户ID
     */
    @NotBlank(message = "{dto.msg.callCenterAgent.agentUserId.NotBlank}")
    private String agentUserId;

    /**
     * 部门ID
     */
    @NotNull(message="{dto.msg.callCenterAgent.depId.NotNull}")
    private Long depId;

    /**
     * 是否设为坐席 false:不是坐席  true:是坐席
     */
    @NotNull(message="{dto.msg.callCenterAgent.isAgent.NotNull}")
    private Boolean isAgent;
}
